package com.hxzy.shop.fallback.commodity;

import com.github.pagehelper.PageInfo;
import com.hxzy.shop.common.dto.commodity.req.ClassificationsReq;
import com.hxzy.shop.common.dto.commodity.resp.ClassifiedManagementResp;
import com.hxzy.shop.dto.commodity.req.*;
import com.hxzy.shop.dto.commodity.resp.*;
import com.hxzy.shop.dto.marketing.dto.req.ActivityBaseReq;
import com.hxzy.shop.entity.*;
import com.hxzy.shop.feign.commodity.CommodityFeign;
import com.hxzy.shop.vo.Result;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 功能描述
 *
 * @author tonneyyy
 */
@Component
@Log4j2
public class CommodityFallback implements CommodityFeign {
    @Override
    public Result<PageInfo<ClassifiedManagementResp>> getClassifiedPage(ClassificationsReq classifiedPage) {
        return Result.demotion();
    }

    @Override
    public Result<List<ClassifiedManagementResp>> getClassifiedList() {
        return Result.demotion();
    }

    @Override
    public Result<Boolean> checkOpenPre() {
        return Result.demotion();
    }

    @Override
    public Result<PageInfo<DrugResp>> getPreDrugPage(DrugPageReq drugPageReq) {
        return Result.demotion();
    }

    @Override
    public Result<PageInfo<Prescriptiondrug>> getPrescriptionList(DrugPageReq drugPageReq) {
        return Result.demotion();
    }

    @Override
    public Result<Boolean> addPrescription(List<Long> idList) {
        return Result.demotion();
    }

    @Override
    public Result<DrugResp> showPrescription(DrugInfoReq drugInfoReq) {
        return Result.demotion();
    }

    @Override
    public Result<Boolean> editPrescription(AddDrugReq addDrugReq) {
        return Result.demotion();
    }

    @Override
    public Result<Boolean> deletePrescription(DrugInfoReq drugInfoReq) {
        return Result.demotion();
    }

    @Override
    public Result<Boolean> editState(DrugUpdateReq state) {
        return Result.demotion();
    }

    @Override
    public Result<MerchantPlugs> getPreInfo(PageRequst pageRequst) {
        return Result.demotion();
    }

    @Override
    public Result<Boolean> addDrug(AddDrugReq addDrugReq) {
       return Result.demotion();
    }

    @Override
    public Result<PageInfo<Drug>> getDrugPageByClassification(ClassificationDrugPageReq req) {
        return Result.demotion();
    }

    @Override
    public Result<Boolean> deleteDrug(List<Long> idS) {
       return Result.demotion();
    }

    @Override
    public Result<SysPlugs> loadPlugInfo(PageRequst pageRequst) {
        return Result.demotion();
    }

    @Override
    public Result<PageInfo<MerchantPlugspaylog>> getRechargePage(PageRequst pageRequst) {
        return Result.demotion();
    }

    @Override
    public Result<RechargeResp> recharge(RechargeReq rechargeReq) {
        return Result.demotion();
    }

    @Override
    public Result<PrescriptionReviewSettings> getPrescriptionReviewSettings() {
        return Result.demotion();
    }

    @Override
    public Result<Boolean> editPrescriptionReviewSettings(EditPrescriptionReviewSettingsReq req) {
        return Result.demotion();
    }

    @Override
    public Result<PageInfo<DrugActivityResp>> getActivityHaggleDrugList(ActivityBaseReq req) {
        return Result.demotion();
    }

    @Override
    public Result<PageInfo<Drug>> getDrugPage(DrugPageReq drugPageReq) {
        return Result.demotion();
    }
    @Override
    public Result<List<ClassifiedManagementResp>> getClassifiedManagement() {
        return Result.demotion();
    }
    @Override
    public Result<PageInfo<MarketingDrugListResp>> findPageDrug(DrugPageReq drugPageReq) {
        return Result.demotion();
    }
      @Override
    public Result<Boolean> updateState(DrugUpdateReq state) {
        return Result.demotion();
    }
    @Override
    public Result<Boolean> updateState(StateUpdateRep state) {
        return Result.demotion();
    }
    @Override
    public Result<DrugResp> getOneDrug(DrugInfoReq req) {
        return Result.demotion();
    }

    @Override
    public Result<Boolean> addClassified(AddClassifiedReq addClassifiedReq) {
        return Result.demotion();
    }

    @Override
    public Result<ClassifiedManagementResp> getClassified(Long id) {
        return Result.demotion();
    }
    @Override
    public Result<Object> addNewClassified(AddNewClassifiedReq req) {
        return Result.demotion();
    }

    @Override
    public Result<Object> editClassified(EditClassifiedReq req) {
        return Result.demotion();
    }

    @Override
    public Result<Object> deleteClassifiedById(ClassifiedIdReq req) {
        return Result.demotion();
    }

    @Override
    public Result<Object> changeClassificationSort(ClassificationSortReq req) {
        return Result.demotion();
    }
        @Override
    public Result<Boolean> updateClassified(AddClassifiedReq addClassifiedReq) {
        return Result.demotion();
    }
    @Override
    public Result<Boolean> deleteClassified(Long id) {
        return Result.demotion();
    }
    @Override
    public Boolean updateBatchState(EditClassifyDto dto) {
        return false;
    }

    @Override
    public Result<Boolean> updateClassify(EditClassifyDto dto) {
        return Result.demotion();
    }

    @Override
    public Result<ImportDrugResp> batchEditDrugDetail(MultipartFile file) {
        return Result.demotion();
    }
}
